import logging, os.path
# %(levelname)6s
logging.basicConfig(level=logging.DEBUG,
                    format="%(asctime)s,%(msecs)03d  %(levelname)-8s  %(module)-16s  L:%(lineno)03d  P:%(process)-4d  T:%(thread)-4d  %(message)s",
                     datefmt='%H:%M:%S')
log = logging.getLogger(__name__)

if __name__ == '__main__':
    log.debug("hello world")
    